__author__ = 'shawhen'

from . import Gdi32


# Stock Logical Objects
WHITE_BRUSH         = 0
LTGRAY_BRUSH        = 1
GRAY_BRUSH          = 2
DKGRAY_BRUSH        = 3
BLACK_BRUSH         = 4
NULL_BRUSH          = 5
HOLLOW_BRUSH        = NULL_BRUSH
WHITE_PEN           = 6
BLACK_PEN           = 7
NULL_PEN            = 8
OEM_FIXED_FONT      = 10
ANSI_FIXED_FONT     = 11
ANSI_VAR_FONT       = 12
SYSTEM_FONT         = 13
DEVICE_DEFAULT_FONT = 14
DEFAULT_PALETTE     = 15
SYSTEM_FIXED_FONT   = 16

DEFAULT_GUI_FONT    = 17

DC_BRUSH            = 18
DC_PEN              = 19

STOCK_LAST          = 19
STOCK_LAST          = 17
STOCK_LAST          = 16

CLR_INVALID     = 0xFFFFFFFF


def GetStockObject(i):
    return Gdi32.Gdi32_dll.GetStockObject(i)